package com.itheima.service;

import com.itheima.common.entity.Result;
import com.itheima.dto.OrderDTO;
import com.itheima.vo.OrderVO;

public interface OrderService {

    /**
     * 体检预约
     * @param orderDTO
     */
    Result submitOrder(OrderDTO orderDTO) throws Exception;

    /**
     * 根据预约id查询预约信息
     * @param id
     * @return
     */
    OrderVO findById(Integer id);
}
